package com.spzx.feign.user;

import com.spzx.model.entity.user.UserAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * service-user模块远程调用
 * Project: spzx-parent
 * Package: PACKAGE_NAME
 * Version: 1.0
 * <p>
 * Created by  wangjiaxin  on 2024/5/4 下午10:29
 */
@FeignClient(value = "service-user")
public interface UserFeignClient {
    //获取地址信息
    @GetMapping("/api/user/userAddress/getUserAddress/{id}")
    public abstract UserAddress getUserAddress(@PathVariable Long id);
}
